<template>
	<view>
		<u-navbar :is-back="true" title="收益明细"></u-navbar>
		<view class="content">
			<view class='profitType'>
				<view class="title">活动订单</view>
				<view class='con f-c-sa'>
					<view class='item end'>
						<view class='subTitle'>入账总额</view>
						<view class='pirc'>￥20000.00</view>
					</view>
					<view class='item wait'>
						<view class='subTitle'>待结算总额</view>
						<view class='pirc'>￥20000.00</view>
					</view>
					<view class='item complete'>
						<view class='subTitle'>已结算总额</view>
						<view class='pirc'>￥20000.00</view>
					</view>
					<view class='item commission'>
						<view class='subTitle'>累计佣金收入总金额</view>
						<view class='pirc'>￥20000.00</view>
					</view>
					<view class='item commission'>
						<view class='subTitle'>累计收入总金额</view>
						<view class='pirc'>￥20000.00</view>
					</view>
				</view>
			</view>
			<view class='profitType'>
				<view class="title">商城订单</view>
				<view class='con f-c-sa'>
					<view class='item end'>
						<view class='subTitle'>入账总额</view>
						<view class='pirc'>￥20000.00</view>
					</view>
					<view class='item wait'>
						<view class='subTitle'>待结算总额</view>
						<view class='pirc'>￥20000.00</view>
					</view>
					<view class='item complete'>
						<view class='subTitle'>已结算总额</view>
						<view class='pirc'>￥20000.00</view>
					</view>
					<view class='item commission'>
						<view class='subTitle'>累计佣金收入总金额</view>
						<view class='pirc'>￥20000.00</view>
					</view>
					<view class='item commission'>
						<view class='subTitle'>累计收入总金额</view>
						<view class='pirc'>￥20000.00</view>
					</view>
				</view>
			</view>
			<view class='profitType'>
				<view class="title">洗车订单</view>
				<view class='con f-c-sa'>
					<view class='item end'>
						<view class='subTitle'>入账总额</view>
						<view class='pirc'>￥20000.00</view>
					</view>
					<view class='item wait'>
						<view class='subTitle'>待结算总额</view>
						<view class='pirc'>￥20000.00</view>
					</view>
					<view class='item complete'>
						<view class='subTitle'>已结算总额</view>
						<view class='pirc'>￥20000.00</view>
					</view>
					<view class='item commission'>
						<view class='subTitle'>累计佣金收入总金额</view>
						<view class='pirc'>￥20000.00</view>
					</view>
					<view class='item commission'>
						<view class='subTitle'>累计收入总金额</view>
						<view class='pirc'>￥20000.00</view>
					</view>
				</view>
			</view>
			<view class='profitType'>
				<view class="title">权益卡订单</view>
				<view class='con f-c-sa'>
					<view class='item end'>
						<view class='subTitle'>入账总额</view>
						<view class='pirc'>￥20000.00</view>
					</view>
					<view class='item wait'>
						<view class='subTitle'>待结算总额</view>
						<view class='pirc'>￥20000.00</view>
					</view>
					<view class='item complete'>
						<view class='subTitle'>已结算总额</view>
						<view class='pirc'>￥20000.00</view>
					</view>
					<view class='item commission'>
						<view class='subTitle'>累计佣金收入总金额</view>
						<view class='pirc'>￥20000.00</view>
					</view>
					<view class='item commission'>
						<view class='subTitle'>累计收入总金额</view>
						<view class='pirc'>￥20000.00</view>
					</view>
				</view>
			</view>
		</view>
	  
	</view>
</template>

<script>
	import {mapGetters,mapMutations} from 'vuex'
	export default {
		data() {
			return {
				
			};
		},
		computed:{
			    ...mapGetters(["userInfo"]),
		
		},
		methods:{
			openDetailsInfo(e){
				let id=e.currentTarget.dataset.id;
				this.$navigateTo('/pages/my/details',{id:id});
			},
			openProfitInfo(e){
				let id=e.currentTarget.dataset.id;
				this.$navigateTo('/pages/my/profit',{id:id});
			}
		}
	}
</script>

<style lang="less">
	.content{
		width: 100%;
		min-height: 100vh;
		background-color: #ededed;
		padding:48rpx 45rpx 28rpx;
		.profitType{
			width: 660rpx;
			height: 401rpx;
			background-color: #fff;
			border-radius: 18rpx;
			padding:0 25rpx 31rpx;
			margin-bottom: 20rpx;
			.title{
				color: #131313;
				font-size: 28rpx;
				line-height: 95rpx;
				font-weight: 700;
			}
			.con{
				flex-wrap: wrap;
				.item{
					width: 190rpx;
					margin: 10rpx;
					height: 124rpx;
					border-radius: 12rpx;
					box-shadow: -10rpx 0px 15rpx 0 rgba(109,65,255,0.30); 
					flex:1;
					
					view{
						width: 100%;
						line-height: 36rpx;
						height: 36rpx;
						color:#fff;
						text-align: center;
						padding-top:20rpx;
					}
					.subTitle{
						font-size: 24rpx;
					}
					.pirc{
						font-size: 26rpx;
						font-weight: 700;
					}
				}
				.end{
					background: #ff4166;
				}
				.wait{
					background: #6e41ff;
				}
				.complete{
					background: #2ba3ff;
				}
				.commission{
					background: #88939b;
				}
				
			}
			
		}
	
	}
	
	
    
</style>
